home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 112 / EnigmaAmiga112CD.iso / dalla rivista / workbench / freedom / docs / tools < prev    next >
Text File  |  1998-07-16  |  3KB  |  105 lines

  1. The directory "Tools" contains some utilities used mainly by the "Install
  2. TrueType Font" script. With this tools you can install fonts manually.
  3.  
  4.  
  5. ***************************************************************************
  6.  
  7.  
  8. GetToolType: (ARGUMENT TEMPLATE: "ICON/A,TOOLTYPE/A")
  9. ============
  10.  
  11. Gets the tooltype TOOLTYPE from icon ICON and prints it to the standard
  12. output. Return Codes:
  13.  
  14.   RETURN_OK   : everything went fine (= result printed to output)
  15.  
  16.   RETURN_WARN : tooltype was found, but did not contain any data, i.e.
  17.                 the tooltype was BOOL:
  18.  
  19.                 "<TOOLTYPE>" instead of "<TOOLTYPE>=<VAL>"
  20.  
  21.   RETURN_ERROR: tooltype and/or icon could not be found/loaded
  22.   
  23.   RETURN_FAIL : fatal error. either bad arguments and/or library open error
  24.  
  25.  
  26. ***************************************************************************
  27.  
  28.  
  29. MakeOFont: (ARGUMENT TEMPLATE: "FILENAME/A")
  30. ==========
  31.  
  32. Creates a ".FONT" file for outline fonts. Return Codes:
  33.  
  34.   RETURN_OK   : everything OK
  35.  
  36.   RETURN_WARN : something didn't work
  37.  
  38.  
  39. ***************************************************************************
  40.  
  41.  
  42. ViewOFont: (ARGUMENT TEMPLATE: "FileName/A,FontName,Size/N,XDPI/N,YDPI/N"
  43. ==========
  44.  
  45. Taken from Amiga Developper CD with a few changes. Can be used to test
  46. any outline font (not only truetype fonts installed by Freedom). It is
  47. very primitive and has some stupid limitations, such as no line break,
  48. immediate exit when done, etc.
  49.  
  50. Example usage: ViewOFont s:startup-sequence fonts:arial.font 40 72 72
  51.  
  52.  
  53. ***************************************************************************
  54.  
  55.  
  56. GetTTInfo: (ARGUMENT TEMPLATE: "FONTNAME/A,QUERY/M/A")
  57. ==========
  58.  
  59. Can be used to retrieve information from a truetype font. You must
  60. specify the real font file (for example: "arial.ttf"). Actually you
  61. can use the following QUERY keywords:
  62.  
  63.   MACSTYLE .............. MacStyle (bit 0 = bold bit 1 = italic)
  64.   ISFIXED ............... "0" or "1"
  65.   FAMILYNAME ............ family name
  66.   SUBFAMILYNAME ......... subfamily name
  67.   COPYRIGHT ............. copyright
  68.   FULLFONTNAME .......... full font name
  69.   ISBOLD ................ "0" or "1"
  70.   ISITALIC .............. "0" or "1"
  71.   WEIGHT ................ stem weight converted to amiga format
  72.   REALWEIGHT ............ unconverted weight
  73.   HORIZSTYLE ............ condensed/expanded/normal/etc. converted to
  74.                           Amiga format
  75.   REALHORIZSTYLE ........ unconverted horizstyle
  76.   UNITS_PER_EM .......... the "resolution" of the EM square
  77.   ASCENDER .............. ascender (distance: baseline to highest point)
  78.   DESCENDER ............. descender (distance: baseline to lowest point)
  79.   
  80. ***************************************************************************
  81.  
  82.  
  83. MakeOTag: (ARGUMENT TEMPLATE: "FILENAME/A,FONTNAME/A"
  84. =========
  85.  
  86. Creates an outline tag file. FONTNAME is the filename of the truetype
  87. font without (!) any path (for example "arial.ttf"). This program does
  88. not retrieve any information itself. You will be requested for all
  89. necessary info.
  90.  
  91.  
  92. ***************************************************************************
  93.  
  94.  
  95. ScanOTag: (ARGUMENT TEMPLATE: "FILE/A")
  96. =========
  97.  
  98. Can be used to scan the information in an otag file (engine name, font-
  99. name, and much more). You can use this program to see what other
  100. outline fonts using another engine (Compugraphic, Postscript) have
  101. stored in the otag file.
  102.  
  103.  
  104.  
  105.